package com.yunsc.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.common.validator.ValidationGroups;
import com.yunsc.store.vo.PageDetailVO;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description: StorePageDTO
 * @date: 2024-04-25 20:10
 */
@Data
public class PageDTO {

    @JsonProperty("pageId")
    @NotNull(message = "pageId不能为空", groups = {ValidationGroups.Update.class, ValidationGroups.Delete.class})
    private Integer pageId;

    private PageDetailVO form;
}
